package com.trendata.dao;

import java.util.List;
import java.util.Map;

import com.trendata.domain.Image;

public interface IImageDao {

	public void insert(Image image);

	public int deleteById(long id);

	public int deleteByOpenId(String openId);

	public void update(Image image);

	public Image selectById(long id);

	public Image selectByUrl(String url);

	public List<Image> selectByParams(Map<String, Object> map);

	public int selectCountByParams(Map<String, Object> map);
}
